﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace WSSiGen.Classes
{
    public class FrotaBean
    {
        public int Id { get; set; }
        public String Fabricante { get; set; }
        public String Modelo { get; set; }
        public String Ano { get; set; }
        public String Cor { get; set; }
        public String Combustivel { get; set; }
        public String Placa { get; set; }
        public int Km { get; set; }
        public String Observacoes { get; set; }

        public FrotaBean() { }
        public FrotaBean(int id, String fabricante, String modelo, String ano,
            String cor, String combustivel, String placa, int km, String observacoes)
        {
            this.Id = id;
            this.Fabricante = fabricante;
            this.Modelo = modelo;
            this.Ano = ano;
            this.Cor = cor;
            this.Combustivel = combustivel;
            this.Placa = placa;
            this.Km = km;
            this.Observacoes = observacoes;

        }
        public override string ToString()
        {
            return this.Modelo.ToString();
        }

    }
}
